import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/store'
import VueCookies from 'vue-cookies';
import qs from "qs";
import axios from "axios";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false
Vue.use(VueCookies);
Vue.use(ElementUI);

axios.defaults.timeout=5000;
axios.defaults.withCredentials=true;


// 30天后过期
window.$cookies.config('30d')
// window object
window.$cookies.config('30d')
window.$cookies.HttpOnly = true;
// require lib


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
